import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/drama_banner_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class DramaBannerEntity {

	@JSONField(name: "drama_id")
	int? dramaId;
	@JSONField(name: "drama_name")
	String? dramaName;
	@JSONField(name: "banner_img")
	String? bannerImg;
	@JSONField(name: "rec_sort")
	int? recSort;
  
  DramaBannerEntity();

  factory DramaBannerEntity.fromJson(Map<String, dynamic> json) => $DramaBannerEntityFromJson(json);

  Map<String, dynamic> toJson() => $DramaBannerEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}